<!DOCTYPE html>
<html>

<head lang="en">
    <meta charset="UTF-8">
    <title>历年项目</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="../css/bootstrap.min.css" />
    <link rel="stylesheet" href="../css/index.css" />
    <script src="../js/jquery-1.11.3.js"></script>
    <script src="../js/bootstrap.js"></script>
    <script src="../js/index.js"></script>
</head>

<body>
    <div id="barTop" class="progressBar"></div>
    <div class="header row" style="text-align: center; background: #850b06; color: #fff;margin: 0;">
        <div class="col-sm-12">
            <h4 class="title">投资计划管理信息系统</h4>
            <div class="mianbaoxie">
                <a href="../index.html">综合查询统计</a>>历年项目</div>
        </div>
    </div>
    <div class="row" style="margin: 0;">
        <div class="aside col-sm-1">
            <div class="panel">
                <div class="panel-heading" style="border-bottom: 1px solid #616161;">
                    <h3 class="panel-title">
                        <a data-toggle="collapse" href="#No01">
                            <p class="headTitle">历年项目</p>
                        </a>
                    </h3>
                </div>
                <div class="panel-collapse in" id="No01">
                    <div class="panel-body">
                        <div class="panel">
                            <div class="panel-heading">
                                <a data-toggle="collapse" href="#No1">
                                    <p>部级投资计划</p>
                                </a>
                            </div>
                            <div class="panel-collapse in" id="No1">
                                <div class="panel-body">
                                    <ul class="select">
                                        <li id="lnxm_gljy" class="active" data-type="gljy">
                                            <p>公路建议计划</p>
                                        </li>
                                        <li id="lnxm_syjy" data-type="syjy">
                                            <p>水运建议计划</p>
                                        </li>
                                        <li id="lnxm_zcxt" data-type="zcxt">
                                            <p>支持系统建议计划</p>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="panel">
                            <div class="panel-heading">
                                <a data-toggle="collapse" href="#No2">
                                    <p>省级政府投资计划</p>
                                </a>
                            </div>
                            <div class="panel-collapse in" id="No2">
                                <div class="panel-body">
                                    <ul class="select">
                                        <li id="lnxm_sjlw" data-type="lnsjlw">
                                            <p>公路路网</p>
                                        </li>
                                        <li id="lnxm_sjzc" data-type="lnsjzc">
                                            <p>公路站场</p>
                                        </li>
                                        <li id="lnxm_sjsy" data-type="lnsjsy">
                                            <p>水运</p>
                                        </li>
                                        <li id="lnxm_sjjc" data-type="lnsjjc">
                                            <p>民用机场</p>
                                        </li>
                                        <li id="lnxm_sjtz" data-type="lnsjtz">
                                            <p>省本级基建项目</p>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="panel">
                            <div class="panel-heading">
                                <a data-toggle="collapse" href="#No3">
                                    <p>全省交通建设计划</p>
                                </a>
                            </div>
                            <div class="panel-collapse in" id="No3">
                                <div class="panel-body">
                                    <ul class="select">
                                        <li id="lnxm_jtlw" data-type="lnjtlw">
                                            <p>公路路网</p>
                                        </li>
                                        <li id="lnxm_jtzc" data-type="lnjtzc">
                                            <p>公路站场</p>
                                        </li>
                                        <li id="lnxm_jtsy" data-type="lnjtsy">
                                            <p>水运</p>
                                        </li>
                                        <li id="lnxm_jtjc" data-type="lnjtjc">
                                            <p>民用机场</p>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        <div class="panel">
                            <div class="panel-collapse in">
                                <ul class="select">
                                    <li id="lnxm_nc" class="single" data-type='nc'>
                                        <p>农村公路</p>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-sm-10" style="padding:0">
            <div class="index_right" id="index_right_div" style=" width:100%;height:100%;">
                <iframe scrolling="no" id="index_right_page" style="width:100%; height:100%;border: none; background: #f1f1f1;"></iframe>
            </div>
        </div>
    </div>
    <script>
        $(function () { })
        var iframe = document.getElementById("index_right_page");
        iframe.src = "../frames/frame_lnxm_gljy.html";
        var index_right_div_height;
        // iframe.onload = function () {
        var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
        index_right_div_height = iframeWin.document.body.scrollHeight < 950 ? 950 : iframeWin.document.body.scrollHeight;
        document.getElementById("index_right_div").style.height = index_right_div_height + "px";
        // }
        $(".select li").click(function (event) {
            var ev = window.event || event;
            ev.stopPropagation();
            var Type = $(this).attr('data-type');
            if (/^(lnsj|lnjt)/.test(Type)) {
                $("#index_right_page").attr("src", "../frames/frame_lnxm_sjlw.html");
            } else {
                if ($(this).attr('id') != ('' || undefined)) $("#index_right_page").attr("src", "../frames/frame_" + $(this).attr('id') + ".html")
            }
        });
    </script>
</body>

</html>